﻿using System.Data;
using Migrator.Framework;

namespace ScrumBox.Database.Migrations
{
    [Migration(1)]
    public class CreateUserTable : Migration
    {
        public override void Up()
        {
            Database.AddTable("Projects",
                                 new Column("Id", DbType.Guid),
                                 new Column("Name", DbType.String),
                                 new Column("Description", DbType.String));
        }

        public override void Down()
        {
            Database.RemoveTable("Projects");
        }
    }
}